package com.feng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feng.domain.ResponseResult;
import com.feng.domain.dto.AddLinkDto;
import com.feng.domain.dto.UpdateLinkDto;
import com.feng.domain.entity.Link;

import java.util.List;

/**
 * 友链(Link)表服务接口
 *
 * @author makejava
 * @since 2023-04-14 15:40:46
 */
public interface LinkService extends IService<Link> {

    ResponseResult getAllLink();

    ResponseResult getList(Integer pageNum, Integer pageSize, String name, String status);

    ResponseResult addLink(AddLinkDto linkDto);

    ResponseResult updateGetList(Long id);

    ResponseResult updateLink(UpdateLinkDto linkDto);

    ResponseResult delLink(List<Long> ids);
}

